package sharewithus.content.dto;

import org.codehaus.jackson.map.annotate.JsonSerialize;

@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class FeedEx extends Feed{
	private String ownerName;
	
	private String location;
	
	
	public FeedEx(Feed feed){
		super();
		super.setCommentedFeedId(feed.getCommentedFeedId());
		super.setFeedContent(feed.getFeedContent());
		super.setFeedId(feed.getFeedId());
		super.setOwnerId(feed.getOwnerId());
		super.setPublishTime(feed.getPublishTime());
	}
	
	public String getOwnerName() {
		return ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
}
